package com.patterns.abstractFortory.addSexFactory.workShop;

import com.patterns.abstractFortory.addSexFactory.concreteFactory.FemaleBlackHuman;
import com.patterns.abstractFortory.addSexFactory.concreteFactory.FemaleWhiteHuman;
import com.patterns.abstractFortory.addSexFactory.concreteFactory.FemaleYellowHuman;
import com.patterns.abstractFortory.addSexFactory.humanFactory.HumanFactory;
import com.patterns.abstractFortory.addSexFactory.humanInterface.Human;

/**
 * Created by Xiao Yiyun on 2017/4/18.
 */
public class FemaleFactory implements HumanFactory {
    public Human createWhiteHuman() {
        return new FemaleWhiteHuman();
    }

    public Human createYelloHuman() {
        return new FemaleYellowHuman();
    }

    public Human createBlackHuman() {
        return new FemaleBlackHuman();
    }
}